<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.text.SimpleDateFormat,java.text.DateFormat,java.util.Date"%>
<%@ include file="/WEB-INF/common/taglib.jsp" %>
<%
	Date now = new Date();
	DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	String nowStr = df.format(now);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>平台详情页面</title>
	<link rel="stylesheet" href="${ctx}/static/css/Master.css"/>
	<link rel="stylesheet" href="${ctx}/static/css/lq.datetimepick.css"/>
	<script src="${ctx}/static/js/jquery-1.8.0.min.js"></script>
	<script src="${ctx}/static/js/simpletooltip.min.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/jsScroller.js"></script>
	<script src="${ctx}/static/js/selectUi.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/jquery.uploadify.v2.0.3.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/swfobject.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/jquery.form.js"></script>
	<style type="text/css">
		#content{ width:100%; background:#525252; position:absolute; left:0; top:0px; bottom:1px;}
		#main_right {
		  margin: 0px;
		  height: 100%;
		  overflow: auto;
		  border-top: 1px solid #717171;
		  background: #fff;
		}
	</style>
  </head>
  
  <body>
    <div class="wrapper">
		<section id="content">
			<section id="main_right">
				<section class="boxRight">
					<div class="OrgTit">查看运营商</div>
					<div class="context">
						<div class="add_firstmenu">
							<dl>
								<dt>
									<strong class="org">基本信息</strong>
								</dt>
								<dd>
								</dd>
							</dl>
							<dl>
								<dt>
									平台名称
								</dt>
								<dd class="org">
									${org.orgName }
								</dd>
							</dl>
							<dl>
								<dt>
									公司注册名称
								</dt>
								<dd class="org">
									${org.comRegName }
								</dd>
							</dl>
							<dl>
								<dt>
									所在地
								</dt>
								<dd class="org">
									${org.provinceName }${org.cityName }${org.areaName }
								</dd>
							</dl>
							<dl>
								<dt>
									详细地址
								</dt>
								<dd class="org">
									${org.address }
								</dd>
							</dl>
							<dl>
								<dt>
									法人姓名
								</dt>
								<dd class="org">
									${org.corpName }
								</dd>
							</dl>
							<dl class="two">
								<dt>
									法人身份证号码
								</dt>
								<dd class="org">
									${org.corpIdCardNumber }
								</dd>
								<dt>
									法人身份证到期时间
								</dt>
								<dd class="org">
									${org.corpIdCareEndDate }
								</dd>
							</dl>
							<dl class="two">
								<dt>
									营业执照号码
								</dt>
								<dd class="org">
									${org.businessLicenseNumber }
								</dd>
								<dt>
									营业执照到期时间
								</dt>
								<dd class="org">
									${org.businessLicenseEndDate }
								</dd>
							</dl>
							<dl class="two">
								<dt>
									组织代码证号码
								</dt>
								<dd class="org">
									${org.orgNumber }
								</dd>
								<dt>
									机构代码到期时间
								</dt>
								<dd class="org">
									${org.orgEndDate }
								</dd>
							</dl>
							<dl class="two">
								<dt>
									税务登记证号码
								</dt>
								<dd class="org">
									${org.taxRegCertifNumber }
								</dd>
								<dt>
									税务登记证到期时间
								</dt>
								<dd class="org">
									${org.taxRegCertifEndDate }
								</dd>
							</dl>
							<dl>
								<dt>
									服务热线
								</dt>
								<dd class="org">
									${org.serviceHotline }
								</dd>
							</dl>
							<dl>
								<dt>
									<strong class="org">合同信息</strong>
								</dt>
								<dd class="org"></dd>
							</dl>
							<dl class="two">
								<dt>
									合同编号
								</dt>
								<dd class="org">
									${org.contract.contractNumber }
								</dd>
								<dt>
									合同签署日期
								</dt>
								<dd class="org">
									${org.contract.contractSignDate }
								</dd>
							</dl>
							<dl class="two">
								<dt>
									合同开始日期
								</dt>
								<dd class="org">
									${org.contract.contractSignBeginDate }
								</dd>
								<dt>
									合同到期日期
								</dt>
								<dd class="org">
									${org.contract.contractSignEndDate }
								</dd>
							</dl>
							<dl class="two">
								<dt>
									合同签署人姓名
								</dt>
								<dd class="org">
									${org.contract.contractSignName }
								</dd>
								<dt>
									负责人手机号码
								</dt>
								<dd class="org">
									${org.contract.contractSignNumber }
								</dd>
							</dl>
							<dl class="two">
								<dt>
									广告分润
								</dt>
								<dd class="org">
									${org.contract.advPercent }%
								</dd>
								<dt>
									交易分润
								</dt>
								<dd class="org">
									${org.contract.dealPercent }%
								</dd>
							</dl>
							
							<dl>
								<dt>
									<strong class="org">图片资料</strong>
								</dt>
								<dd class="org"></dd>
							</dl>
							<dl class="two sf">
								<dt>法人身份证</dt>
								<dd class="org">
									<div class="ddpic">
										<c:forEach var="dd" items="${org.fileLists }">
										<c:if test="${dd.filType == 1 }">
										<div class="gg_img">
											<code url="${dd.filSerPath}" id="${dd.filId }" onclick="removeImg(this);">
												<img src="${fUrl }${dd.filSerPath}" alt="" width="136px" height="80px" />
											</code>
										</div>
										</c:if>
										</c:forEach>
									</div>
								</dd>
								<dt>营业执照</dt>
								<dd class="org">
									<div class="ddpic">
										<c:forEach var="dd" items="${org.fileLists }">
										<c:if test="${dd.filType == 2 }">
										<div class="gg_img">
											<code url="${dd.filSerPath}" id="${dd.filId }" onclick="removeImg(this);">
												<img src="${fUrl }${dd.filSerPath}" alt="" width="136px" height="80px" />
											</code>
										</div>
										</c:if>
										</c:forEach>
									</div>
								</dd>
							</dl>
							<dl class="two sf">
								<dt>税务登记证</dt>
								<dd class="org">
									<div class="ddpic">
										<c:forEach var="dd" items="${org.fileLists }">
										<c:if test="${dd.filType == 3 }">
										<div class="gg_img">
											<code url="${dd.filSerPath}" id="${dd.filId }" onclick="removeImg(this);">
												<img src="${fUrl }${dd.filSerPath}" alt="" width="136px" height="80px" />
											</code>
										</div>
										</c:if>
										</c:forEach>
									</div>
								</dd>
								<dt>机构代码证</dt>
								<dd class="org">
									<div class="ddpic">
										<c:forEach var="dd" items="${org.fileLists }">
										<c:if test="${dd.filType == 4 }">
										<div class="gg_img">
											<code url="${dd.filSerPath}" id="${dd.filId }" onclick="removeImg(this);">
												<img src="${fUrl }${dd.filSerPath}" alt="" width="136px" height="80px" />
											</code>
										</div>
										</c:if>
										</c:forEach>
									</div>
								</dd>
							</dl>
							
							<dl class="two sf">
								<dt>协议资料</dt>
								<dd class="org">
									<div class="ddpic">
										<c:forEach var="dd" items="${org.fileLists }">
										<c:if test="${dd.filType == 5 }">
										<div class="gg_img">
											<code url="${dd.filSerPath}" id="${dd.filId }" onclick="removeImg(this);">
												<img src="${fUrl }${dd.filSerPath}" alt="" width="136px" height="80px" />
											</code>
										</div>
										</c:if>
										</c:forEach>
									</div>
								</dd>
							</dl>
							
							<dl class="two sf">
								<dt>LOGO</dt>
								<dd class="org">
									<div class="ddpic">
										<c:forEach var="dd" items="${org.fileLists }">
										<c:if test="${dd.filType == 6 }">
										<div class="gg_img">
											<code url="${dd.filSerPath}" id="${dd.filId }" onclick="removeImg(this);">
												<img src="${fUrl }${dd.filSerPath}" alt="" width="136px" height="80px" />
											</code>
										</div>
										</c:if>
										</c:forEach>
									</div>
								</dd>
							</dl>
							<dl>
								<dt>
									状态
								</dt>
								<dd class="org"> 
									${diy:keyToValue(org.auditStatus,'AUD_STATUS')}
								</dd>
							</dl>
							<div class="combtn"><a href="javascript:void(0);" onclick="history.go(-1)">返回</a></div>
						</div>
					</div>
				
			</section>
			</section>
		<!--/左边-->
		</section>
	</div>
  </body>
</html>
